package fr.mystnihon.game.model.ability;

import java.util.Vector;

import fr.mystnihon.game.model.actor.Personnage;

public class Competence {

	private long mId;
	private String mName;
	private long mDamage;
	private StateModifier mModifier;
	private int type;
	private int executionIn;
	private int positionX;
	private int positionY;
	private String image;
	private boolean learn;
	private Vector<Competence> children;

	public Competence() {

	}

	public void setId(long id) {
		mId = id;
	}

	public long getId() {
		return mId;
	}

	public void setName(String name) {
		mName = name;
	}

	public String getName() {
		return mName;
	}

	public void setDamage(long damage) {
		mDamage = damage;
	}

	public long getDamage() {
		return mDamage;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getExecutionIn() {
		return executionIn;
	}

	public void setExecutionIn(int executionIn) {
		this.executionIn = executionIn;
	}

	public int getPositionX() {
		return positionX;
	}

	public void setPositionX(int positionX) {
		this.positionX = positionX;
	}

	public int getPositionY() {
		return positionY;
	}

	public void setPositionY(int positionY) {
		this.positionY = positionY;
	}

	public boolean isLearn() {
		return learn;
	}

	public void setLearn(boolean learn) {
		this.learn = learn;
	}

	public void setModifier(StateModifier modifier) {
		mModifier = modifier;
	}

	public StateModifier getModifier() {
		return mModifier;
	}

	public void use(Personnage user) {

	}

	public enum TYPE {
		ACTIVE, BOOST, COMBO, REACTION
	}

}
